<?php
	include("global.php");
	$categorys_temp = $db->findall('category');
while ($row = $db->fetch_array($categorys_temp)) {
    $categorys[$row[id]] = $row[typename];
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/div.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.js" language="javascript" type="text/javascript"></script>
<script src="js/jquery-1.4.2.js" language="javascript" type="text/javascript"></script>
<script src="js/secondmenu.js" language="javascript" type="text/javascript"></script>
<style type="text/css">
.pages { height:25px; overflow:hidden; text-align:center; line-height:25px; font-family:Verdana; }
.pages a, .pages strong { margin:0 1px; padding:2px 6px; border:1px solid #E4E4E4; text-decoration:none!important; }
.pages a:hover { border-color:#369; color:369 }
.backs { border-color:#369; background:#369; color:#FFF; }
.pages .prev { padding:4px 6px 2px 20px!important; padding:4px 6px 0 20px; background:url(images/arrow_left.gif) no-repeat 9% 50%; font-family:simsun; }
.next { padding:4px 20px 2px 6px!important; padding:4px 20px 0 6px; background:url(images/arrow_right.gif) no-repeat 91% 50%; font-family:simsun; }
</style>
<script type="text/javascript">
	$(function(){
		$("#fenye a").click( function() {
			$(this).addClass("backs");
		});
	});	 
</script>


</head>
<?php
	include("conn/conn.php");
if(isset($_POST['submit']))
{	
        $whychoose = $_POST['whychoose'];
        $xuanchuan = $_POST['xuanchuan'];
        $yinsu= $_POST['yinsu'];
        $jiaxuanc = $_POST['jiaxuanc'];
		$cushi = $_POST['cushi'];
		$jijie = $_POST['jijie'];     
		$fuyong = $_POST['fuyong'];   
		$mingxin = $_POST['mingxin'];   
		$guanggao = $_POST['guanggao'];   
		$nali = $_POST['nali'];   
		$yaoqiu = $_POST['yaoqiu'];  

		$sql = mysql_query("insert into `diaocha` values('','$whychoose','$xuanchuan','$yinsu','$jiaxuanc','$cushi','$jijie','$fuyong','$mingxin','$guanggao','$nali','$yaoqiu')");
		if($sql){
			echo "<script>alert('提交成功'); window.location.href = 'index.php';</script>";
		}
}

?>
<body>
<div class="box1">
	<?php
			include("top.php");
		?>
		<embed src="swf/index1-1.swf" width="1002" height="256" quality="high" wmode="transparent"  />
		  </div>
		</div>
		<div style=" height:10px;">&nbsp;</div>
		
	<div style=" height:20px;">&nbsp;</div>
	<div style=" width:1003px;">
		<div style=" width:200px; overflow:hidden; float:left;">
			
			<?php
				include("othertree.php");
				include("search.php");
			?>
		</div>
		<div style="float:left; width:50px;">&nbsp;</div>
		<div style=" float:left; width:750px;">
			<div style=" width: 750px; background-color:#8DBAE0; height:5px;"></div>
			<div style=" width:200px; height:15px;">&nbsp;</div>
			<div style=" width:750px; height:20px;">
				<span style=" float:left; text-align:left;color:#768DC1; font-size:15px; font-weight:bolder; height:30px;">
					调查问卷
				</span><span style=" float:right;text-align:right" id="span1"><a href="index.php">首页</a>-><a href="diaocha.php">调查问卷</a></span>
			</div>
			<div style=" height:10px;">&nbsp;</div>
			<div style=" width:750px; text-align:left;">
			<form action="investigation.php" method="post" id="form1">
						 <p>1.您依据什么选择药品或保健品（多选）<br/><br/>
							 <input type="checkbox" value="医生指导" name="whychoose">医生指导
							 <input type="checkbox" value="药店人员推荐" name="whychoose">药店人员推荐
							 <input type="checkbox" value="自己看说明书" name="whychoose">自己看说明书
							 <input type="checkbox" value="别人介绍" name="whychoose">别人介绍
							 <input type="checkbox" value="个人经验" name="whychoose">个人经验
							  <input type="checkbox" value="其他" name="whychoose">其他
						 </p><br/>
						   <p>2.在您看来，广告宣传的功效与实际产品功效是否相符（单选）<br/><br/>
							 <input type="radio" value="相符" name="xuanchuan">相符
							 <input type="radio" value="不相符" name="xuanchuan">不相符
							 <input type="radio" value="说不清" name="xuanchuan">说不清
						 </p><br/>
						  <p>3.您在选购药品时考虑什么因素（多选）<br/><br/>
							 <input type="checkbox" value="疗效" name="yinsu">疗效
							 <input type="checkbox" value="产品成熟度" name="yinsu">产品成熟度
							 <input type="checkbox" value="市场销售状况" name="yinsu">市场销售状况
							 <input type="checkbox" value="价格" name="yinsu">价格
							 <input type="checkbox" value="广告效果" name="yinsu">广告效果
							  <input type="checkbox" value="口碑" name="yinsu">口碑
						 </p><br/>
						   <p>4.您认为药品广告是否存在虚假宣传（单选）<br/><br/>
							 <input type="radio" value="是" name="jiaxuanc">是
							 <input type="radio" value="不是" name="jiaxuanc">不是
							 <input type="radio" value="说不清" name="jiaxuanc">说不清
						 </p>
<br />
						<p>5. 什么原因促使您购买本网站的药品或保健品（多选）<br /><br />
							<input type="checkbox" value="价格" name="cushi">价格     
							<input type="checkbox" value="质量" name="cushi">质量   
							<input type="checkbox" value="品牌" name="cushi">品牌    
							<input type="checkbox" value="服务" name="cushi">服务   
							<input type="checkbox" value="其他" name="cushi">其他
						</p><br />
						<p>6.您在哪个季节会购买大量的药品或者保健品（单选）<br /><br />
							<input type="radio" value="春季" name="jijie">春季   
							<input type="radio" value="夏季" name="jijie">夏季    
							<input type="radio" value="秋季" name="jijie">秋季    
							<input type="radio" value="冬季" name="jijie">冬季
						</p>
						<br />
						<p>7.您经常服用保健药吗（单选）<br /><br />
							<input type="radio" value="经常" name="fuyong">经常    
							<input type="radio" value="偶尔" name="fuyong">偶尔    
							<input type="radio" value="不服用" name="fuyong">不服用
						</p>
						<br />
						<p>8.你对明星代言药品或保健品，有何感想（单选）<br /><br />
							<input type="radio" value="反感" name="mingxin">反感  
							<input type="radio" value="无所谓" name="mingxin">无所谓   
							<input type="radio" value="喜欢" name="mingxin">喜欢
						</p>
						<br />
						<p>9.下列哪类广告会吸引你购买药品或保健品(单选)<br /><br />
							<input type="radio" value="明星代言" name="guanggao">明星代言   
							<input type="radio" value="产品药效" name="guanggao">产品药效     
							<input type="radio" value="医生推荐" name="guanggao">医生推荐     
							<input type="radio" value="其他" name="guanggao">其他
						</p>
						<br />
						<p>10.您从哪里知道我们的网站（多选）<br /><br />
 							<input type="checkbox" value="电视" name="nali">电视    
							<input type="checkbox" value="网络" name="nali">网络    
							<input type="checkbox" value="朋友" name="nali">朋友    
							<input type="checkbox" value="杂志" name="nali">杂志     
							<input type="checkbox" value="其他" name="nali">其他
						</p>
						<br />
						<p>11.  您对本网站还有什么要求和建议？请您写下来<br /><br />
						<textarea rows="5" cols="50" style=" border:1px solid gray" name="yaoqiu"></textarea>
						</p>
						<div align="left"><br />
						  <br />						  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <input type="submit" value="提交" name="submit" style="height:22px; width:60px;" />
                          </p>
			  </div>
			</form>
			</div>
		</div>
	</div>
	<?php
		include("foot.php");
	?>
</div>
</body>
</html>

